package com.liner.homework.third;

public class Dog extends Animal{

    public Dog(String name, int age, String color) {
        super(name, age, color);
    }

    @Override
    void eat() {
        super.eat();
        System.out.println("it's eating a bone");
    }

    void lookHome(){
        System.out.println(getName() + " looking after his house...");
    }

}
